/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 */
'use strict';
import React, {
    Component,
} from 'react';

import { connect } from 'react-redux'
import Tweets from '../components/tweets';

class TweetsContainer extends Component {
    constructor (props) {
        super(props)
    }
    
    render() {
        return (
            <Tweets {...this.props} />
        );
    }
}

export default connect(state => ({
    userName:state.user.userName,
    userInfo:state.user.userInfo,
    isConnected:state.netInfo.isConnected,
    toolModalVisible:state.app.toolModalVisible,
    mainSelectedTab:state.app.mainSelectedTab
  })
)(TweetsContainer);
